isRun();

async function isRun() {
	var flag = await send_Background({code: 'getLoginStatus'});
	if (flag) check_Login();
}

async function check_Login() {
	if ('memedia.oaqi.com' == document.domain) {
		var uuid = window.location.href.match(/\/\w+\/(.*)\?/)[1];
		var flag = !check_StrIsNull(uuid);
		if (flag) send_Background({code: 'upUUID', uuid: uuid});
		login_succ(flag);
	} else {
		title();
	}
}